package dubbo.server4.impl.controller;

import dubbo.server4.impl.common.disconf.SystemConfig;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
@RequestMapping("/disconf")
public class DisconfController {
    @Autowired
    private SystemConfig systemConfig;
    @RequestMapping("/test")
    public String test(){
        return systemConfig.getUrl();
    }
}
